const runtime.heapArenaBytes
25 uses
runtime (current package)
arena.go#L191: userArenaChunkBytes = uintptr(int64(userArenaChunkBytesMax-heapArenaBytes)&(int64(userArenaChunkBytesMax-heapArenaBytes)>>63) + heapArenaBytes) // min(userArenaChunkBytesMax, heapArenaBytes)
arena.go#L210: if userArenaChunkBytes < heapArenaBytes {
arena.go#L211: if heapArenaBytes%userArenaChunkBytes != 0 {
arena.go#L215: if userArenaChunkBytes%heapArenaBytes != 0 {
heapdump.go#L529: if base+heapArenaBytes > arenaEnd {
heapdump.go#L530: arenaEnd = base + heapArenaBytes
malloc.go#L248: heapArenaBytes = 1 << logHeapArenaBytes
malloc.go#L250: heapArenaWords = heapArenaBytes / goarch.PtrSize
malloc.go#L260: pagesPerArena = heapArenaBytes / pageSize
malloc.go#L572: p = alignUp(p+(256<<10), heapArenaBytes)
malloc.go#L581: a, size := sysReserveAligned(unsafe.Pointer(p), arenaSize, heapArenaBytes)
malloc.go#L624: n = alignUp(n, heapArenaBytes)
malloc.go#L632: v = h.arena.alloc(n, heapArenaBytes, &gcController.heapReleased)
malloc.go#L689: v, size = sysReserveAligned(nil, n, heapArenaBytes)
malloc.go#L722: if uintptr(v)&(heapArenaBytes-1) != 0 {
mcheckmark.go#L28: b [heapArenaBytes / goarch.PtrSize / 8]uint8
mcheckmark.go#L93: arenaWord := (obj / heapArenaBytes / 8) % uintptr(len(arena.checkmarks.b))
mcheckmark.go#L94: mask := byte(1 << ((obj / heapArenaBytes) % 8))
mheap.go#L602: return arenaIdx((p - arenaBaseOffset) / heapArenaBytes)
mheap.go#L608: return uintptr(i)*heapArenaBytes + arenaBaseOffset
mheap.go#L1029: arenaBase := base % heapArenaBytes
mheap.go#L1049: if arenaLimit > heapArenaBytes {
mheap.go#L1050: arenaLimit = heapArenaBytes
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |